package me.zhengjie.modules.service;

import me.zhengjie.modules.domain.Companies;

import java.util.List;
import java.util.Map;

public interface CompaniesService {

    List<Companies> findAllByPage(Integer pageNo,Integer pageSize);

    int addCompaniesByList(List<Companies> list);

    List<Companies> findAll();

    int queryCount();

    /**
     * 查询企业总数，投融资总数，知识产权总数,知识产权趋势分析，投融资趋势分析，
     * @return
     */
    List<Map<String, Object>> queryAllCount();
    //根据条件查询企业总数，投融资总数，知识产权总数,知识产权趋势分析，投融资趋势分析，
    List<Map<String, Object>> queryAllCountByCondition(Integer honor,Integer honor2);
}
